Skip to content

Taskcluster frequently failing trying to fetch Firefox profile #52613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gsnedders opened this issue May 16, 2025 · 4 comments
Open

Taskcluster frequently failing trying to fetch Firefox profile #52613

gsnedders opened this issue May 16, 2025 · 4 comments

Comments

@gsnedders
Copy link
Member

See the master branch https://github.com/web-platform-tests/wpt/runs/42387737071 or the tools/ integration tests https://github.com/web-platform-tests/wpt/pull/52455/checks?check_run_id=42357970828, both of which failed with:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/./wpt", line 10, in <module>
    wpt.main()
  File "/home/test/web-platform-tests/tools/wpt/wpt.py", line 233, in main
    rv = script(*args, **kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 1007, in run
    setup_cls, wptrunner_kwargs = setup_wptrunner(venv, **kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 979, in setup_wptrunner
    setup_cls.setup(kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 246, in setup
    self.setup_kwargs(kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 318, in setup_kwargs
    prefs_root = self.browser.install_prefs(kwargs["binary"],
  File "/home/test/web-platform-tests/tools/wpt/browser.py", line 528, in install_prefs
    self.get_profile_github(version, channel, dest, rev)
  File "/home/test/web-platform-tests/tools/wpt/browser.py", line 484, in get_profile_github
    file_data[rel_path] = get_file_github("mozilla-firefox/firefox",
  File "/home/test/web-platform-tests/tools/wpt/browser.py", line 87, in get_file_github
    data: bytes = get(f"https://raw.githubusercontent.com/{repo}/{ref}/{path}").content  # type: ignore
  File "/home/test/web-platform-tests/tools/wpt/utils.py", line 109, in get
    resp.raise_for_status()
  File "/home/test/web-platform-tests/_venv3/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://raw.githubusercontent.com/mozilla-firefox/firefox/main/testing/profiles/base/user.js
@gsnedders
Copy link
Member Author

We don't seem to do any rate-limited when fetching files from GitHub, which is quite possibly the problem.

@jonathan-j-lee
Copy link
Contributor

This is causing wpt-firefox-nightly-* to fail regularly:

@jgraham Would it be possible to vendor copies of profiles.json and user.js for WPT CI? Just guessing from the contents, but it doesn't look like they will change very frequently.

@gsnedders
Copy link
Member Author

(Regression from 1af206e / #52391.)

@gsnedders
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants